package reno.eureka.timecycle.entity;

public class CycleMO {

    private String id;
    private String expiry;
    private boolean isDay;
    private String timeLeft;
    private boolean isCetus;
    private boolean isWarm;
    private String shortString;

    public void pretreatment() {
        id = id.replace("cetusCycle", "");
        id = id.replace("earthCycle", "");
        id = id.replace("vallisCycle", "");
        id = String.valueOf(Long.valueOf(id) / 1000);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getExpiry() {
        return expiry;
    }

    public void setExpiry(String expiry) {
        this.expiry = expiry;
    }

    public boolean isDay() {
        return isDay;
    }

    public void setDay(boolean day) {
        isDay = day;
    }

    public String getTimeLeft() {
        return timeLeft;
    }

    public void setTimeLeft(String timeLeft) {
        this.timeLeft = timeLeft;
    }

    public boolean isCetus() {
        return isCetus;
    }

    public void setCetus(boolean cetus) {
        isCetus = cetus;
    }

    public boolean isWarm() {
        return isWarm;
    }

    public void setWarm(boolean warm) {
        isWarm = warm;
    }

    public String getShortString() {
        return shortString;
    }

    public void setShortString(String shortString) {
        this.shortString = shortString;
    }
}
